//
//  NSString+getDateTime.h
//  ITMS
//
//  Created by 中矿科技有限公司 on 16/7/18.
//  Copyright © 2016年 中矿科技有限公司. All rights reserved.
//

typedef NS_ENUM(NSUInteger, SAPYearStatus) {
    /// 被踢
    SAPCurrentYear = 1000,
    /// 手动登出
    SAPCurrentLastYear,
    //重新选车
    SAPNearThreeYear,
};

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface NSString (getDateTime)
typedef void(^weekDate)(NSString *firstDay,NSString *lastDay);
typedef void(^mothDate)(NSString *firstDay,NSString *lastDay);
+(void)getWeekTime:(weekDate)weekday;
+(void)getMothTime:(mothDate)mothday;
+(void)getYearStatus:(SAPYearStatus)yearStatus yearTime:(mothDate)mothday;

-(CGFloat)heightWithWidth:(CGFloat)width font:(CGFloat)font;
@end
